package study.cv.image.mapper.examanscell;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Wrappers;

import java.util.List;

public interface ExamAnsCellMapper extends BaseMapper<ExamAnsCellEO> {

    default List<ExamAnsCellEO> getAnsCellLtByPageId(Long pageId) {
        QueryWrapper wrapper = Wrappers.query()
                .eq("page_id", pageId);
        return selectList(wrapper);
    }
}
